// 自定义对话框
.y-form-dialog{

  .y-form-dialog-header {
    font-size: 24px;
    font-weight: 500;
    letter-spacing: 1px;
  }

  .y-form-dialog-info{
    margin: 0 0 40px;
    font-size: 13px;
  }

  .el-dialog__header {
    padding: 30px 30px 20px;
    // border-bottom: 1px dashed #e7e9ee;
    .el-dialog__headerbtn {
      position: absolute;
      top: 34px;
      right: 30px;
      width: 40px;
      height: 40px;
    }
    .el-dialog__close {
      font-size: 20px;
    }
  }
    
  .el-dialog__body {
    padding: 0px 30px;
  }

  .el-dialog__footer{
    padding: 20px 30px 30px;
  }

}

.el-dialog {
  border-radius: 3px;
}

.y-form-drawer{
  .el-drawer__header{
    margin-bottom: 22px;
    padding: 30px 30px 0px;
    .el-drawer__title {
      font-size: 22px;
      font-weight: 500;
      letter-spacing: 1px;
    }
    .el-drawer__close-btn{
      padding-right: 0;
    }
    .el-drawer__close{
      font-size: 28px;
    }
  }
  .el-drawer__body{
    padding: 30px;
  }
  .el-drawer__footer{
    padding: 20px 30px 30px;
  }
}

.el-drawer{
  position: fixed;
  height: calc(100% - 60px) !important;
  top: 30px !important;
  right: 30px !important;
  border-radius: 5px !important;
}

// .y-page-details-header{
//   padding-bottom: 30px;
// }
.y-page-details-title{
  margin-bottom: 20px;
  font-size: 24px;
  font-weight: 500;
  display: flex;
  align-items: center;
  .y-go-back{
    display: flex;
    align-items: center;
    font-size: 15px;
    margin-right: 20px;
    padding: 4px 10px;
    cursor: pointer;
    border: 1px solid #dcdfe6;
    border-radius: 5px;
  }
}
.y-page-details-info{
  margin-bottom: 20px;
  font-size: 13px;
  line-height: 16px;
  display: flex;
  align-items: center;
}

// 自定义输入框样式
.y-input-body{
  // 自定义表单输入框
  .el-input__wrapper{
    box-shadow: 0 0 0 1px transparent inset;
    border-radius: 0;
    border-bottom: 1px solid #DCDFE6;
    transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
  }
  .el-input__wrapper.is-focus{
    box-shadow: 0 0 0 1px transparent inset;
    border-radius: 0;
    border-bottom: 1px solid $base-color-primary;
  }
  .el-form-item.is-error .el-input__wrapper {
    box-shadow: 0 0 0 1px transparent inset !important;
    border-radius: 0;
    border-bottom: 1px solid $base-color-error;
  }
  .el-form-item.is-error .el-input__wrapper.is-focus{
    box-shadow: 0 0 0 1px transparent inset !important;
  }
  .el-form-item.is-error .el-input__wrapper:hover{
    box-shadow: 0 0 0 1px transparent inset !important;
  }

  // 禁用效果
  .el-input.is-disabled .el-input__wrapper {
    box-shadow: 0 0 0 1px transparent inset;
  }

  // 选择框
  .el-select:hover .el-input__wrapper{
    box-shadow: 0 0 0 1px transparent inset;
  }
  .el-select .el-input.is-focus .el-input__wrapper {
    box-shadow: 0 0 0 1px transparent inset !important;
  }
  .el-select .el-input__wrapper.is-focus {
    box-shadow: 0 0 0 1px transparent inset !important;
  }

  // 自定义表单文本域输入框
  .el-textarea__inner {
    box-shadow: 0 0 0 1px transparent inset;
    border-radius: 0;
    border-bottom: 1px solid #DCDFE6;
  }
  .el-textarea__inner:focus{
    box-shadow: 0 0 0 1px transparent inset;
    border-radius: 0;
    border-bottom: 1px solid $base-color-primary;
  }
  .el-form-item.is-error .el-textarea__inner {
    box-shadow: 0 0 0 1px transparent inset;
    border-radius: 0;
    border-bottom: 1px solid $base-color-error;
  }

  .el-input-group__append{
    padding-top: 1px;
    box-shadow: 0 0 0 1px transparent inset;
    border-radius: 0;
    border-bottom: 1px solid #DCDFE6;
  }
}
.y-input-body-bottom{
  margin-top: 40px;
  display: flex;
  justify-content: center;
}
.y-input-number {
  // 计数器
  .el-input-number {
    width: 110px;
  }
  .is-controls-right{
    .el-input__wrapper{
      padding-left: 15px;
      padding-right: 15px;
    }
    .el-input-number__increase{
      background: var(--el-fill-color-light);
      top: 0;
      width: 18px;
      height: 50%;
      right: -22px;
      border-radius: var(--el-border-radius-base) var(--el-border-radius-base) 0 0 !important;
      border-top: 1px solid var(--el-border-color) !important;
      border-left: 1px solid var(--el-border-color) !important;
      border-right: 1px solid var(--el-border-color) !important;
      border-bottom: 1px solid transparent !important;
    }
    .el-input-number__decrease{
      background: var(--el-fill-color-light);
      bottom: 0;
      width: 18px;
      height: 50%;
      right: -22px;
      border-radius: 0 0 var(--el-border-radius-base) var(--el-border-radius-base) !important;
      border-left: 1px solid var(--el-border-color) !important;
      border-right: 1px solid var(--el-border-color) !important;
      border-bottom: 1px solid var(--el-border-color) !important;
    }
    // .el-input-number__increase:hover~.el-input:not(.is-disabled) .el-input__wrapper{}
    // .el-input-number__decrease:hover~.el-input:not(.is-disabled) .el-input__wrapper{}
  }
}

// 自定义 table
.el-table th{
  height: 44px;
  background: #f5f7fa !important;
}
.el-table th>.cell {
  font-weight: 500 !important;
}

// 自定义 label
.y-el-table-label {
  padding-top: 20px;
}

.y-el-table-label label {
  margin-left: 20px;
  font-weight: 500;
  color: #99a9bf;
}

// 自定义 tag
.y-el-tag {
  font-weight: 500;
  border-color: #ffffff !important;
}

// 自定义 button按钮间隔
.interval-button {
  height: 0.9em;
  width: 1px;
  margin: 0 8px;
  padding: 0;
  background: #ebebeb;
  position: relative;
  top: 0.15em;
  display: inline-block;
}

.diy-black-verify {
}
.diy-black-verify::before {
  content: '*';
  color: var(--el-color-black);
  margin-right: 4px;
}

.diy-verify {
}
.diy-verify::before {
  content: '*';
  color: var(--el-color-danger);
  margin-right: 4px;
}

// 自定义 table 合并单元格
.qs-y-table-merge {
  .diy-table-column {
    margin: 0 -12px;
    padding: 4px 12px;
  }
  .el-table__body {
    .el-table__cell {
      padding: 0px 0 !important;
    }
  }
}

// 树型选择器
.el-select-dropdown__wrap{
  .el-tree-node__content {
    height: 32px !important;
  }
  .el-select-dropdown__item {
    font-size: 15px !important;
  }
}